package com.service.impl;

import com.mapper.ParkingstateMapper;
import com.pojo.Parkingstate;
import com.service.ParkingStateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ParkingStateServiceimpl implements ParkingStateService {
    @Resource
    private ParkingstateMapper parkingstateMapper;
    @Override
    public List<Parkingstate> selectallState() {
        List<Parkingstate> parkingstates = parkingstateMapper.selectallState();
        return parkingstates;
    }
}
